<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<link rel="shortcut icon" href="/site_media/favicon.ico" type="image/x-icon">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>TARDIS {% if subtitle %}- {{ subtitle }} {% endif %}</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link href="/site_media/css/style.css" rel="stylesheet" type="text/css" media="screen">

<link type="text/css" href="/site_media/css/theme/ui.all.css" rel="Stylesheet" />	
<script type="text/javascript" src="/site_media/js/jquery-1.3.1.js"></script>
<script type="text/javascript" src="/site_media/js/jquery-ui-personalized-1.6rc6.js"></script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5443750-1");
pageTracker._trackPageview();
} catch(err) {}</script>

{% block script %}{% endblock %}

</head><body>
<!-- start header -->
<div id="header">


<div id="logo">
	<h1><a href="#">TARDIS</a><span style="font-size: 14px; color: gray"> v2.1</span></h1><br>
	<h2>FEDERATED DIFFRACTION IMAGE PUBLICATION REPOSITORY</h2><br>
	<h3>
	<a href="http://www.ncbi.nlm.nih.gov/pubmed/18566516?ordinalpos=1&amp;itool=EntrezSystem2.PEntrez.Pubmed.Pubmed_ResultsPanel.Pubmed_RVDocSum" target="_blank">
	(Androulakis et al (2008) Acta Cryst. D) [PubMed]</a> 
	</h3>
	
		<div id="logostats">
                        {% if public_datasets %}
                {{ public_datasets.count }} <a href="#">datasets </a> from {{ public_pdbids.count }} <a href="#">structures, </a> {{ public_datafiles.count }} <a href="#">files

        {% endif %}
			{% if public_datasets %}
		<div style="margin-top: 4px; margin-right: 8px;">
			 <a href="#">Pre-release data:</a> {{ private_datasets.count }} datasets, {{ private_datafiles.count }} files
		</div>
		   {% endif %}
		<div style="margin-top: 4px; margin-right: 8px;">{% if is_authenticated %}Welcome, {{ username }} <a href="/logout">[Log Out]</a> {% else %} <a href="/accounts/register"> [Register] </a> <a href="/login"> [Log In] </a> {% endif %}</div>
		</div>
	
	
<!-- end header -->
</div>
</div>
<hr>
<!-- start page -->
<div style="clear: both"></div>
<div id="page">
	

	<div id="menu">
		<ul>
			<li><a href="/">Home</a></li>
			<li><a href="/news">News</a></li>
			<li><a href="/about">About</a></li>
			<li><a href="/experiment/view">Data</a></li>
			<li><a href="/deposit">Deposit</a></li>
			<!-- <li><a href="#">Wiki</a></li> -->
			<li><a href="/partners">Partners</a></li>
			
			<li>
				<form name="input" action="/search/quick/" method="get" class="quicksearch">
				<input type="hidden" name="results" value="">
				<input type="text" name="quicksearch" value="" size="10">

				<input type="submit" value="search" class="quicksearch-submit">

				</form>				
			
			</li>	

		</ul>
	</div>
	
	{% if status %}
	<br/>
		{% if error %}
	<div id="statusBoxError">
		{{status}}
	</div>
		{% else %}
	<div id="statusBox">
		{{status}}
	</div>
		{% endif %}
	{% endif %}
	
	<!-- start content -->

	{% block content %}{% endblock %}

<div id="sidebar2" class="sidebar">

	{% block sidebar %}{% endblock %}
	
</div>
<!-- end sidebar two -->
<div style="clear: both; width: 700px;">
	
	{% block bottom %}{% endblock %}
	
</div>
	{% block fullpage %}
	
	{% endblock %}
</div>
<!-- end page -->
<hr>
	<!-- start footer -->
	
<div id="footer">
	<p>

    <br>
	©2010 All Rights Reserved. &nbsp;•&nbsp; <a href="mailto:%20steve.androulakis@med.monash.edu.au">Designed by Steve Androulakis</a></p>  
</div>
<!-- end footer -->
</body>
</html>
